/* 
 * File:   exercise7.h
 * Author: Vic
 *
 * Created on April 30, 2013, 12:55 PM
 */

#ifndef EXERCISE7_H
#define	EXERCISE7_H
#include <cstdlib>
#include <iostream>
void exercise7(){
    std::cout<<"Enter the number of drawers"<<std::endl;
    int drawers;
    std::cin>>drawers;
    std::cout<<"Enter the type of wood"<<std::endl;
    char wood;
    std::cin>>wood;

    if(wood=='p')
        std::cout<<drawers*30+100;
    else if(wood=='p')
        std::cout<<drawers*30+140;
    else
        std::cout<<drawers*30+180;
    
}


#endif	/* EXERCISE7_H */

